<?php

/**
 * @author Nguyen Manh Kien
 * @copyright 2013
 */
?>

<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <!-- Load phan title-->
        <?php $this->load->view('commons/title_head');?>
    <!--Het phan title-->   
        
        <?php $this->load->helper('url');?>
        
  	<!-- Css-->	
		<link href="<?php echo base_url();?>css/lms-application_bk.css" rel="stylesheet" type="text/css"/>
		<link href="<?php echo base_url();?>css/lms-course_bk.css" rel="stylesheet" type="text/css"/>
		<link href="<?php echo base_url();?>css/footer_bk.css" rel="stylesheet" type="text/css"/>
        <link href="<?php echo base_url();?>css/introduce_policy_ego.css" rel="stylesheet" type="text/css"/>
		
	<!-- JS -->	
		<script type="text/javascript" src="<?php echo base_url();?>js/lms-main_vendor.js" charset="utf-8"></script>	
	</head>
    
    
    
<body class="courseware None">
<!-- Header -->
	<header class="global slim">
		<nav>
			<h1 class="logo">
				<a href="<?php echo base_url()."home_controller/index";?>">     
					<img src="<?php echo base_url();?>images/web_logos/header-logo.png" alt="Home"/>      
				</a>
			</h1>
			<h2><span class="provider">Nhà trường</span></h2>
            <?php if (isset($user['USERNAME'])){?>
			<ol class="user">
				<li class="primary">
                   
					<a href="<?php echo base_url()."user_controller/view_user";?>" class="user-link">
						<span class="avatar"></span>
						<span class="sr">Dashboard for: </span> <?php echo $user['USERNAME'];?>
					</a>
				</li>
				<li class="primary">
					<a href="#" class="dropdown"><span class="sr">More options dropdown</span> ▾</a>
					<ul class="dropdown-menu">
					  
						<li><a href="<?php echo base_url()."user_controller/helper"?>">Trợ giúp</a></li>
					  
					  <li><a href="<?php echo base_url()."user_controller/log_out"?>">Đăng xuất</a></li>
					</ul>
				</li>
			</ol>
            <?php } else {}?>
		</nav>
	</header>

	<section class="content-wrapper">

		
		<section class="introduce-container">
			<div class="introduce-wrapper">

			<!--Content-->
                <section class="introduce-slogan-wrapper-l">
                    Danh sách các trường tham gia        
                </section>
	           <section> 
              <table border="1px solid #CCC" class="school-list" width="95%">
                  <tr class="title_school">
                        <th width="25%;" ><p class="th-shool">Tên trường</p></th>
                        <th width="13%;" ><p class="th-shool">Ngày tham gia</p> </th>          
                        <th width="30%;" ><p class="th-shool">Phụ trách</p></th>
                        <th width="32%" ><p class="th-shool">Email</p></th>
                        <!--<th width="2000px;" ><p class="th-shool">Website</p></a></th>-->                        
                  </tr>
                   <?php $i=1;while (isset($school[$i]['NAME'])){?>
                  <tr class="school-detail">
                        <td ><p><?php echo $school[$i]['NAME'];?> </p></td>
                        <td ><p><?php echo $school[$i]['DATE_JOIN'];?> </p>     </td>
                        <td ><p><?php echo $school[$i]['TEACHER_CHARGE_NAME'];?> </p></td>
                        <td><p><?php echo $school[$i]['TEACHER_CHARGE_EMAIL'];?> </p>     </td>
                        <!--<td ><a target="_brank" href="<?php //echo $school[$i]['LINK'];?>"><p><?php //echo $school[$i]['LINK'];?> </p></a></td>-->
                        
                  </tr>
                   <?php $i++;}?>
              </table>
	           </section>
             
			<!-- End Content -->
			</div>
		</section>
	</section>
	<!--Footer-->
    <?php $this->load->view('commons/footer_all');?>

	<!--Jquery-->
    <script type="text/javascript" src="<?php echo base_url();?>js/lms-application.js" charset="utf-8"></script>
    <script type="text/javascript" src="<?php echo base_url();?>js/lms-modules.js" charset="utf-8"></script>
    <script type="text/javascript" src="<?php echo base_url();?>js/lms-courseware.js" charset="utf-8"></script>
</body></html>